package com.gxuwz.zlc.controller;

import com.gxuwz.zlc.service.RepairService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class PageJumpController {

    @Autowired
    private RepairService repairService;

    /**
     * 跳转到首页
     * @return
     */
    @RequestMapping("/toIndex")
    public String toIndex(){
        return "index";
    }

    /**
     * 跳转到首页
     * @return
     */
    @RequestMapping("/toMain")
    public String toIndexMain(){
        return "index-main";
    }

    /**
     * 跳转去department部门
     * @return
     */
    @RequestMapping("/toDepartment")
    public String toDepartment(){
        return "department/department_list2";
    }

    /**
     * 跳转去lab实验室
     * @return
     */
    @RequestMapping("/toLab")
    public String toLab(){
        return "lab/lab";
    }

    /**
     * 跳转去LabTechnician实验室技术人员表
     * @return
     */
    @RequestMapping("/toLabTechnician")
    public String toLabTechnician(){
        return "labTechnician/labTechnician";
    }

    /**
     * 技术人员
     * 跳转去"查看审核招聘信息列表"
     * @return
     */
    @RequestMapping("/toRecruitmentPlan")
    public String toRecruitmentPlan(){
        return "recruitmentPlan/recruitmentPlan";
    }

    /**
     * 学生工作处
     * 跳转去"审核招聘计划申请信息"
     * @return
     */
    @RequestMapping("/toStudentOffice")
    public String toLabTechnician1(){
        return "recruitmentPlan/recruPlanStudentOffice";
    }

    /**
     * 学生
     * 跳转去"查看招聘计划"
     * @return
     */
    @RequestMapping("/toStudentPlan")
    public String toPlanStudent(){
        return "student/view_recruitment";
    }

    /**
     * 学生
     * 跳转去"查看面试信息列表"
     * @return
     */
    @RequestMapping("/toSeeInterview")
    public String toPlanStudent6(){
        return "student/see_interview";
    }

    /**
     * 技术人员
     * 跳转去"审核报名信息"
     * @return
     */
    @RequestMapping("/toReviewStudent")
    public String toPlanStudent1(){
        return "technical/review_student";
    }

    /**
     * 技术人员
     * 跳转去"审核面试信息"
     * @return
     */
    @RequestMapping("/toAudition")
    public String toPlanStudent2(){
        return "audition/audition";
    }

    /**
     * 技术人员
     * 跳转去"人员档案信息"
     * @return
     */
    @RequestMapping("/toAssistantInformation")
    public String toPlanStudent3(){
        return "technical/assistant_information";
    }

    /**
     * 技术人员
     * 跳转去"记录工作内容"
     * @return
     */
    @RequestMapping("/SeeAssistant")
    public String toSeeAssistant(){
        return "technical/see_assistant";
    }

    /**
     * 技术人员
     * 跳转去"查看设备维修申请"
     * @return
     */
    @RequestMapping("/SeeRepair")
    public String toSeeRepair(){
        return "technical/see_repair";
    }

    /**
     * 实验室助理
     * 跳转去"记录工作内容"
     * @return
     */
    @RequestMapping("/toAssistant")
    public String toPlanStudent4(){
        return "assistant/assistant_list";
    }

    /**
     * 实验室助理
     * 跳转去"设备维修信息列表"
     * @return
     */
    @RequestMapping("/toRepair")
    public String toPlanStudent5(){
        return "repair/repair_list";
    }

    /**
     * 技术人员
     * 跳转去"打印维修设备页面"
     * @return
     */
    @RequestMapping("/toRepairPrint")
    public String toPlanStudent10(){
        return "technical/print_repair";
    }

    /**
     * 技术人员
     * 跳转去"打印维修设备页面"
     * @return
     */
    @RequestMapping("/toerji")
    public String toPlanStudent14(){
        return "technical/print_repair";
    }

}


